package com.lanyan.system.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.lanyan.system.domain.vo.CouponVo;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lanyan.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lanyan.common.core.domain.BaseEntity;

/**
 * 优惠券对象 coupon
 *
 * @author lanyan
 * @date 2024-11-26
 */
@Data
public class Coupon extends CouponVo
{
    private static final long serialVersionUID = 1L;

    /**
     * 总领取人数
     */
    @TableField(exist = false)
    private Integer receiveNumber;

    /**
     * 使用人数
     */
    @TableField(exist = false)
    private Integer useNumber;

    /**
     * 待使用人数
     */
    @TableField(exist = false)
    private Integer toBeUsedNumber;

    /**
     * 已过期数量
     */
    @TableField(exist = false)
    private Integer expiredQuantity;

    /**
     * 开始时间
     */
    @TableField(exist = false)
    private String startTime;

    /**
     * 结束时间
     */
    @TableField(exist = false)
    private String endTime;

}
